<%@ page language="java" contentType="text/html; charset=utf-8"
		 pageEncoding="utf-8"%>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.conn.RecordSet" %>
<%@ page import="weaver.general.Util" %>
<%
	JSONObject jsonData = new JSONObject();
	RecordSet rs = new RecordSet();
	String ids = Util.null2String(request.getParameter("ids"));
	int count = 0;
	if(!"".equals(ids)){
		rs.executeQuery("select count(id) from formtable_main_119_dt1 where mxid='"+ids+"'");
		rs.next();
		count = Util.getIntValue(rs.getString(1));
	}
	jsonData.put( "count", count );
	out.print( jsonData.toJSONString() );
%>